package com.homework.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

import java.util.Date;

@Data
@Accessors(chain = true)
@Configuration
@AllArgsConstructor
@NoArgsConstructor
@Scope("singleton")
public class User {
    private String user_id;
    private String username;
    private String password;
    private String salt;
    private String nickname;
    private String email;
    private String phone;
    private int sex;
    private int age;
    private String img;
    private int status;
    private Date create_time;
    private Date update_time;
    private Date last_login_time;


}